﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace CDH_Shop.Models.Good
{
    public class UpdateGategoryRequest
    {
        public int CateId { get; set; }
        [StringLength(maximumLength: 30, MinimumLength = 2, ErrorMessage = "请输入2-30位商品分类名称")]
        [Required(ErrorMessage = "请输入商品分类名称")]
        public string CateName { get; set; }
    }
}
